﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="StatUseCarFeeByDep.aspx.cs" Inherits="ServicesSheet_StatUseCarFeeByDep" %>

<%@ Register Src="../Control/DSelYearMonth.ascx" TagName="DSelYearMonth" TagPrefix="uc3" %>
<%@ Register Src="../Control/DepartmentDList.ascx" TagName="DepartmentDList" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Titile" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" runat="Server">
    <table cellpadding="0" cellspacing="5" class="TbSearch">
        <tr>
            
            <td style="width: 40px">
                &nbsp;<asp:Label ID="Label22" runat="server" Text="日期:"></asp:Label>
            </td>
            <td>
                <uc3:DSelYearMonth ID="DSelYearMonth1" runat="server" EndOffsetYear="1" StartOffsetYear="1" />
            </td>
            

           <td style="text-align:right">
            <span class="roundbtn">
                    <asp:LinkButton ID="btnSearch" runat="server" Text="&nbsp;&nbsp;&nbsp;&nbsp;查 询&nbsp;&nbsp;&nbsp;&nbsp;" OnClick="btnSearch_Click"
                        ></asp:LinkButton>
                </span>
                &nbsp;&nbsp;&nbsp;&nbsp;
            </td>
        </tr>
    </table>
    <infolight:webgridview id="wgvMaster" runat="server" aborticonurl="../Image/UIPics/Abort.gif"
        addiconurl="../Image/UIPics/Add.gif" applyiconurl="../Image/UIPics/Apply.gif"
        backcolor="White" bordercolor="White" borderstyle="Groove" borderwidth="2px"
        canceliconurl="../Image/UIPics/Cancel.gif" cellpadding="5" createinnernavigator="False"
        forecolor="#333333" headerstylewrap="False" mouseoveraborticonurl="../Image/UIPics/Abort2.gif"
        mouseoveraddiconurl="../Image/UIPics/Add2.gif" mouseoverapplyiconurl="../Image/UIPics/Apply2.gif"
        mouseovercanceliconurl="../Image/UIPics/Cancel2.gif" mouseoverokiconurl="../Image/UIPics/OK2.gif"
        mouseoverqueryiconurl="../Image/UIPics/Query2.gif" okiconurl="../Image/UIPics/OK.gif"
        pagesize="20" queryiconurl="../Image/UIPics/Query.gif" totalcaption="合计" width="100%"
        allowpaging="False">
        <footerstyle backcolor="#507CD1" font-bold="True" forecolor="White" />
        <pagersettings mode="NumericFirstLast" />
        <selectedrowstyle backcolor="#D1DDF1" font-bold="True" forecolor="#333333" />
        <rowstyle backcolor="#EFF3FB" />
        <alternatingrowstyle backcolor="White" bordercolor="White" />
        <editrowstyle backcolor="#2461BF" />
        <columns>
                        <asp:BoundField DataField="DepartmentId" HeaderText="部门编号" SortExpression="DepartmentId" />
                        <asp:BoundField DataField="DepartmentName" HeaderText="部门名称" SortExpression="DepartmentName" />
                        <asp:BoundField DataField="AllKill" HeaderText="使用公里数汇总" SortExpression="AllKill" />
                        <asp:BoundField DataField="AllSExpenses" HeaderText="停车路桥费汇总" SortExpression=" AllSExpenses" />
                        <asp:BoundField DataField="Amount" HeaderText="费用金额汇总(元)" SortExpression="Amount" />
                    </columns>
        <navcontrols>
                        <InfoLight:ControlItem ControlName="Add" ControlText="add" ControlType="Image" ControlVisible="True"
                            ImageUrl="../image/uipics/add.gif" MouseOverImageUrl="../image/uipics/add2.gif"
                            Size="25" />
                        <InfoLight:ControlItem ControlName="OK" ControlText="Insert" ControlType="Image"
                            ControlVisible="True" ImageUrl="../image/uipics/ok.gif" MouseOverImageUrl="../image/uipics/ok2.gif"
                            Size="25" />
                        <InfoLight:ControlItem ControlName="Cancel" ControlText="cancel" ControlType="Image"
                            ControlVisible="True" ImageUrl="../image/uipics/cancel.gif" MouseOverImageUrl="../image/uipics/cancel2.gif"
                            Size="25" />
                    </navcontrols>
        <headerstyle backcolor="DeepSkyBlue" font-bold="True" forecolor="White" />
        <pagerstyle backcolor="LightBlue" forecolor="White" horizontalalign="Center" />
        <totalcolumns>
                        <InfoLight:GridViewTotalItem FieldName="AllKill" />
                        <InfoLight:GridViewTotalItem FieldName="Amount" />
                    </totalcolumns>
    </infolight:webgridview>
</asp:Content>
